package com.ambulance.project.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ambulance.framework.aspectj.lang.annotation.Excel;
import com.ambulance.framework.web.domain.BaseEntity;

/**
 * 车载通道对象 biz_car_channel
 * 
 * @author zr
 * @date 2020-05-11
 */
public class BizCarChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 宏电终端序列号 */
    @Excel(name = "宏电终端序列号")
    private String termSn;

    /** 宏电通道号 */
    @Excel(name = "宏电通道号")
    private String hdid;

    /** 通道名称 */
    @Excel(name = "通道名称")
    private String name;

    /** 通道类型 */
    @Excel(name = "通道类型")
    private String type;

    /** icon的base64 */
    @Excel(name = "icon的base64")
    private String icon;

    /** 通道号 */
    @Excel(name = "通道号")
    private Integer channelNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTermSn(String termSn) 
    {
        this.termSn = termSn;
    }

    public String getTermSn() 
    {
        return termSn;
    }
    public void setHdid(String hdid) 
    {
        this.hdid = hdid;
    }

    public String getHdid() 
    {
        return hdid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setChannelNo(Integer channelNo) 
    {
        this.channelNo = channelNo;
    }

    public Integer getChannelNo() 
    {
        return channelNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("termSn", getTermSn())
            .append("hdid", getHdid())
            .append("name", getName())
            .append("type", getType())
            .append("icon", getIcon())
            .append("channelNo", getChannelNo())
            .toString();
    }
}
